var myChart = echarts.init(document.getElementById('main-3-a-1'));


option = {
	tooltip: {
		trigger: 'axis',
		axisPointer: {
			type: 'shadow'
		}
	},
	grid: {
		left: '3%',
		right: '4%',
		bottom: '3%',
		containLabel: true
	},
	xAxis: [{
		type: 'category',
		data: ['车型1', '车2', '车型3', '车4', '车5', '车型6', '车型7','车型8','车型9','车型10'],
		axisTick: {
			alignWithLabel: true
		}
	}],
	yAxis: [{
		type: 'value'
	}],
	series: [{
		name: 'Direct',
		type: 'bar',
		 barWidth: 20,
		data: [10, 52, 200, 334, 390, 330, 220,80,110,160]
	}]
};
	  window.onresize = echarts.resize;
	  
	  myChart.setOption(option);
